|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/thread-self/root/var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
version=5.15.0-97-generic
image_path=/boot/vmlinuz-$version
if [ "$1" != configure ]; then
exit 0
fi
depmod -a -F /boot/System.map-$version $version || true
if [ -d /etc/kernel/postinst.d ]; then
cat - >/usr/lib/linux/triggers/$version <<EOF
DEB_MAINT_PARAMS="$*" run-parts --report --exit-on-error --arg=$version \
--arg="$image_path" /etc/kernel/postinst.d
EOF
dpkg-trigger --no-await linux-update-$version
fi
exit 0